﻿<!--
    
/* ****************************************************************************
 *
 * Copyright (c) Microsoft Corporation. 
 *
 * This source code is subject to terms and conditions of the Microsoft Public License. A
 * copy of the license can be found at http://go.microsoft.com/fwlink/?LinkID=131993. If
 * you cannot locate the Microsoft Public License, please send an email to
 * mixon@microsoft.com. By using this source code in any fashion, you are agreeing to
 * be bound by the terms of the Microsoft Public License.
 *
 * You must not remove this notice, or any other, from this software.
 *
 *
 * ***************************************************************************/
    
-->
<Grid x:Class="MIXOnline.Descry.EntryItemPopup"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:control="clr-namespace:MIXOnline.Descry"
    MinWidth="150"
    >

	<Grid x:Name="LayoutRoot">


        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        
        <!-- UI -->
        <Grid Margin="26,0,0,0">
            <Rectangle Fill="#FF272727" StrokeThickness="0"/>
            <Rectangle Height="21" HorizontalAlignment="Left" Margin="-26,0,0,0" VerticalAlignment="Top" Width="28" RadiusX="0" RadiusY="0">
            	<Rectangle.Fill>
            		<LinearGradientBrush EndPoint="0.673,0.5" StartPoint="-0.007,0.5">
            			<GradientStop Color="#00FFFFFF" Offset="0.977"/>
            			<GradientStop Color="#FF272727" Offset="1"/>
            		</LinearGradientBrush>
            	</Rectangle.Fill>
            </Rectangle>
            
            <StackPanel Margin="5" Orientation="Vertical">
                
                <!-- Nickname, Service and Timestamp -->
                <StackPanel Orientation="Horizontal" Margin="0,4,0,0">

                    <HyperlinkButton Content="{Binding User.NickName}" HorizontalAlignment="Left" FontFamily="Arial" FontSize="11"  NavigateUri="{Binding User.ProfileUrl}"  TargetName="_blank" Foreground="#FFFFFFFF"/>
                    <TextBlock Text="on" HorizontalAlignment="Left" FontFamily="Arial" FontSize="11" Style="{StaticResource textBlockStyle}" />
                    <HyperlinkButton Content="{Binding Service.Name}" HorizontalAlignment="Left" FontFamily="Arial" NavigateUri="{Binding Service.ProfileUrl}" TargetName="_blank" Foreground="#FFFFFFFF"/>
                    <TextBlock Text="@" HorizontalAlignment="Left" FontFamily="Arial" Style="{StaticResource textBlockStyle}"/>
                    <TextBlock Text="{Binding Published}" TextWrapping="Wrap" HorizontalAlignment="Left" FontFamily="Arial" Style="{StaticResource textBlockStyle}"/>
                    
                </StackPanel>
                
                <!-- Title -->
                <HyperlinkButton  Margin="0,6,0,0" Content="{Binding Title}" HorizontalAlignment="Left" FontFamily="Arial" FontSize="14" NavigateUri="{Binding Link}" TargetName="_blank" Foreground="#FFFFFFFF" FontWeight="Bold"/>
                
                <StackPanel Orientation="Horizontal" Height="15"  Margin="0,4,0,0">
                    <HyperlinkButton Content="{Binding Comments}" FontFamily="Arial" FontSize="11" Foreground="#FFFFFFFF"/>
                    <HyperlinkButton Content="Comment(s)" FontFamily="Arial" FontSize="11"  NavigateUri="{Binding User.ProfileUrl}"  TargetName="_blank" Foreground="#FFFFFFFF"/>
                    <HyperlinkButton Content="{Binding Likes}" FontFamily="Arial" FontSize="11" Foreground="#FFFFFFFF"/>
                    <HyperlinkButton Content=" Like(s)" FontFamily="Arial" FontSize="11" NavigateUri="{Binding User.ProfileUrl}"  TargetName="_blank" Foreground="#FFFFFFFF"/>
                </StackPanel>
                
            </StackPanel>

        </Grid>
        
    </Grid>
</Grid>